﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String sheet = (String)request.getParameter("sheet");
%>
<!DOCTYPE HTML>
<html>
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="description" content="JOMOO维修师傅专用系统" />
		<title>JOMOO维修登记平台</title>
		<link type="text/css" rel="stylesheet" href="include/css/css.css" />
		<link type="text/css" rel="stylesheet" href="include/css/button.css" />
	</head>
	<script type="text/javascript">
		var sheet =<%=sheet%>;
		function init()
		{
			if('0' == sheet)
			{
				document.getElementById("imc").src="include/images/flowsheet.gif";
			}
			
			if('1' == sheet)
			{
				document.getElementById("imc").src="include/images/sheet01.png";
			}
			
			if('2' == sheet)
			{
				document.getElementById("imc").src="include/images/sheet02.png";
			}
			
			if('3' == sheet)
			{
				document.getElementById("imc").src="include/images/sheet03.png";
			}
			
			if('4' == sheet)
			{
				document.getElementById("imc").src="include/images/sheet04.png";
			}
			
			if('5' == sheet)
			{
				document.getElementById("imc").src="include/images/sheet05.png";
				$("hr").show();
				$("#show1").show();
			}
		}
		
		function closeWin()
		{
			var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
            parent.layer.close(index);
		}
	</script>
	<body onload="init()">
		<div style="position: fixed; width: 100%;">
			<img class="logo"  id="imc"  /><hr style="display: none"/>
			<table border="0" style="width: 92%;margin-left: 30px;height: 85px;display: none" id="show1">
				<tr style="height: 50px;padding-top: 100px;">
					<td style="width:92%;text-align: center;"><a href="javascript:void(0);" class="button button-rounded button-primary" onclick="closeWin();">流程结束，点击确认</a></td>
				</tr>
			</table>
		</div>
		<script type="text/javascript" src="include/js/jquery-1.7.min.js"></script>
		<script type="text/javascript" src="include/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="include/layer/layer.js"></script>
	</body>
</html>